package com.example.shoppingcart.service;


import com.example.model.shppingcart.dto.GoodsAndCountDTO;
import com.example.model.shppingcart.dto.ShoppingCartDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ShoppingCartService {
    ShoppingCartDTO addCart(GoodsAndCountDTO goodsAndCountDTO);

    List<ShoppingCartDTO> selectCart();

    void delectCart(List<Integer> ids);
}
